package com.dabai.iot.core.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 产品视图实体类 -用于设备下拉选择
 *
 * @author kev1n
 */
@Data
public class ProductSelectVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品Key
     */
    private String productKey;

}
